package com.ziyueyuwen.xiniao.dao;

import com.ziyueyuwen.xiniao.bean.report.StudentLessonReportVO;
import com.ziyueyuwen.xiniao.bean.report.ZyStudentLessonReport;
import com.ziyueyuwen.xiniao.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZyStudentLessonReportMapper extends BaseMapper<ZyStudentLessonReport>{
    /**
     * 该课节所有学生的课堂报告
     * @param classId
     * @param lessonIndex
     * @return
     */
    List<StudentLessonReportVO> getStudentLessonReport(@Param("classId") Integer classId, @Param("lessonIndex")Integer lessonIndex);

    /**
     * 该课节所有学生的课堂报告
     * @param lessonId
     * @return
     */
    List<StudentLessonReportVO> getStudentLessonReportByLessonId(Integer lessonId);
}